const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  introduction: state => state.user.introduction,
  activeIndex: state => state.aiindex.activeIndex,
  rolearray: state => state.user.rolearray,
  userCode: state => state.user.userCode,
  permission_routes: state => state.permission.routes,
  permissions: state => state.permission.permissions,
}
export default getters
